package org.minproject.my_library_back.service;

import org.minproject.my_library_back.domain.Book;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【book】的数据库操作Service
* @createDate 2024-11-21 09:11:46
*/
public interface BookService extends IService<Book> {

    int updateBook(Book book);
    int deleteBook(Integer bookId);
    int addBook(Book book);
    List<Book> selectAllBooks();
    List<Book> selectBookByName(String bookName);
    Book selectBookById(Integer bookId);
}
